package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author 董代恒
 * @version 1.0
 */
/*
    Scope注解：Spring Bean的作用域注解
        1.singleton:单例
        2.prototype；多例
        一般都用单例
 */
@Scope(value = "prototype")
@Component
public class Order{
}
